package net.kehuilai.model;

/**
 * Created by genghz on 16/12/6.
 */
public class BaseMessage {
    private String id;
    private String method;
    private String type;
    private String data;

    public BaseMessage() {
    }

    public BaseMessage(String method, String type, String data) {
        this.method = method;
        this.type = type;
        this.data = data;
    }

    public BaseMessage(String id, String method, String type, String data) {
        this.id = id;
        this.method = method;
        this.type = type;
        this.data = data;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
